package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.WorkflowProcess;

public interface WorkflowProcessService {
    Result<PageInfo<WorkflowProcess>> queryList(Long workflowId,int page,int size);

    Result addWorkflowProcess(WorkflowProcess process);

    Result<WorkflowProcess> getById(Long id);

    Result updateWorkflowProcess(WorkflowProcess workflowProcess);

    Result deleteWorkflowProcessById(Long id);

    Result batchDeleteWorkflowProcess(Long[] ids);
}
